package com.wmh.baseservice.robot.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author 青石
 */
@ApiModel(value="机器人对象")
@Accessors(chain = true)
@Data
public class Robot implements Serializable {

    static final long serialVersionUID = 42L;

    @ApiModelProperty(value = "远程地址(ip)")
    private String remoteAddr;

    @ApiModelProperty(value = "远程代码")
    private String remoteCode;

    @ApiModelProperty(value = "远程密码")
    private String remotePwd;

    @ApiModelProperty(value = "开放端口")
    private String flaskPort;

    @ApiModelProperty(value = "状态(0:闲置,1:运行中,-1:掉线)")
    private Integer statusId;

    @ApiModelProperty(value = "正在执行的任务ID")
    private Integer taskId;

    @ApiModelProperty(value = "正在执行的任务名称")
    private String taskName;
}
